package 
{
import controller.ILoginWindowController;
import controller.LoginWindowController;

import flash.display.Sprite;
import flash.display.StageAlign;
import flash.display.StageScaleMode;

public class Main extends Sprite
{
	public function Main()
	{
		stage.align = StageAlign.TOP_LEFT;
		stage.scaleMode = StageScaleMode.NO_SCALE;
		
		init();
	}
	
	private function init():void
	{
		var loginWindowController:ILoginWindowController = new LoginWindowController();
		loginWindowController.createUI();
		
		addChild(loginWindowController.loginWindow);
	}
}
}
